home *** CD-ROM | disk | FTP | other *** search
/ Tech Arsenal 1 / Tech Arsenal (Arsenal Computer).ISO / tek-21 / xcb-20.zip / MAKEFILE.STD < prev    next >
Text File  |  1992-11-11  |  1KB  |  45 lines

  1. #
  2. # $Header: /home/fbm/src/misc+/xcb/RCS/Makefile.std,v 1.8 1992/10/16 07:32:29 fbm Exp $
  3.  
  4. INCS    =    
  5. HDRS    =    cb.h patchlevel.h
  6. SRCS    =    xcb.c
  7. OBJS    =    xcb.o
  8. MISC    =    README CHANGES xcb.man Xcb.ad ack Imakefile Makefile.std
  9. SHARS    =    $(MISC) $(SRCS) $(HDRS)
  10.  
  11. # Add your favourite compiler flags here.
  12. #
  13. CFLAGS    =    $(INCS) -O # -DXVIEW
  14. LDFLAGS =    
  15.  
  16. # These are the libraries required for linking.
  17. # AT&T SVR4 systems also require libnsl.a.......
  18. #
  19. LIBS    =    -lXaw -lXmu -lXt -lXext -lX11
  20. #LIBS    =    -lXaw -lXmu -lXt -lXext -lX11 -lnsl    # SVR4 needs libnsl.a
  21.  
  22. all:    xcb
  23.  
  24. xcb:    $(OBJS)
  25.     $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $(OBJS) $(LIBS)
  26.  
  27. # You will need to check and possibly adjust the target
  28. # directories for these install rules.
  29. #
  30. install: xcb
  31.     install -c xcb /usr/bin/X11
  32.     install -c -m 0644 -o bin -g bin Xcb.ad /usr/lib/X11/app-defaults/Xcb
  33.  
  34. install.man:
  35.     install -c -m 0644 -o bin -g bin xcb.man /usr/share/man/mrd/man1/xcb.1
  36.  
  37. clean clobber:
  38.     rm -f *.o xcb
  39.  
  40. tags ctags:    $(HDRS) $(SRCS)
  41.     ctags -tw $(HDRS) $(SRCS)
  42.  
  43. shar:
  44.     shar -c -f part -p -x X $(SHARS)
  45.